package com.linkoog.devtools.intellij.ui.table.cell_reander;

import com.intellij.ui.CellRendererPanel;
import org.jetbrains.annotations.NotNull;

import javax.swing.*;
import javax.swing.table.TableCellRenderer;
import java.awt.*;


public class EmptyTableCellRenderer extends CellRendererPanel implements TableCellRenderer {

    @NotNull
    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) {
        return this;
    }

    @Override
    public Dimension getMaximumSize() {
        return new Dimension(0, 0);
    }

}
